home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / TGCBOR20.ARJ / INTROPAK.COM / SIMMOUSE.C < prev    next >
Text File  |  1991-04-06  |  361b  |  26 lines

  1.  
  2.   /* -- This program draws a frame then waits for a mouse button to be pressed  */
  3.   /* -- then disposes of it.  */
  4.  
  5. #include "teglsys.h"
  6.  
  7.  
  8. void main(void)
  9. {
  10.  
  11.    easytegl();
  12.    easyout();
  13.  
  14.    pushimage(1,1,100,100);
  15.    shadowbox(1,1,100,100);
  16.    showmouse();
  17.  
  18.    while (mouse_buttons == 0) ;
  19.    popimage();
  20.  
  21.    teglsupervisor();
  22. }
  23.  
  24.  
  25.  
  26.